# coding=utf-8

"""
    Created by Kalyter on 2017-10-27.
"""
import socket

HOST = '192.168.0.122'
PORT = 50007

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))

message = 'Hello World!'
s.sendall(message)

data = s.recv(1024)

s.close()

print('Received: ', repr(data))
